package com.xinsoft.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.dto.SysApproveFlowNodeDto;
import com.xinsoft.entity.dto.SysFlowParam;
import com.xinsoft.entity.po.SysApproveFlowNode;

/**
 * @author lijie
 * @description 针对表【sys_approve_flow_node(审批流节点表)】的数据库操作Service
 * @createDate 2023-05-22 13:44:38
 */
public interface SysApproveFlowNodeService extends IService<SysApproveFlowNode> {

    Object findPageListByParam(SysFlowParam param);

    /**
     * @return void
     * @Author Li9527
     * @Description 新增节点
     * @Date 2023/5/23 14:07
     * @params node num
     **/
    void add(SysApproveFlowNodeDto node, Integer num);

    /**
     * @return void
     * @Author Li9527
     * @Description 删除节点
     * @Date 2023/5/23 14:07
     * @params node num
     **/
    void deleteNode(Integer id);

    SysApproveFlowNodeDto getInfoById(Integer id);
}
